package com.wwx.worldonwheels.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class WwxPayment implements Serializable {
    private Integer paymentId;

    private String method;

    private Integer cardNo;

    private Date date;

    private BigDecimal amount;

    private Integer wwxInvoiceInvoiceId;

    private static final long serialVersionUID = 1L;

    public Integer getPaymentId() {
        return paymentId;
    }

    public void setPaymentId(Integer paymentId) {
        this.paymentId = paymentId;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Integer getCardNo() {
        return cardNo;
    }

    public void setCardNo(Integer cardNo) {
        this.cardNo = cardNo;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getWwxInvoiceInvoiceId() {
        return wwxInvoiceInvoiceId;
    }

    public void setWwxInvoiceInvoiceId(Integer wwxInvoiceInvoiceId) {
        this.wwxInvoiceInvoiceId = wwxInvoiceInvoiceId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", paymentId=").append(paymentId);
        sb.append(", method=").append(method);
        sb.append(", cardNo=").append(cardNo);
        sb.append(", date=").append(date);
        sb.append(", amount=").append(amount);
        sb.append(", wwxInvoiceInvoiceId=").append(wwxInvoiceInvoiceId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}